//
//  MapGeometryCalculationManager.m
//  YueYueSpecailCarDriver
//
//  Created by 李亚军 on 17/2/24.
//  Copyright © 2017年 黄旺鑫. All rights reserved.
//

#import "MapGeometryCalculationManager.h"


@implementation MapGeometryCalculationManager

+ (CLLocationDistance)calculateTheDistanceBetweenStartMAMapPoint:(CLLocationCoordinate2D)startMAMapPoint endMAMapPoint:(CLLocationCoordinate2D)endMAMapPoint {
    
    MAMapPoint point1 = MAMapPointForCoordinate(startMAMapPoint);
    MAMapPoint point2 = MAMapPointForCoordinate(endMAMapPoint);
    
    CLLocationDistance distance = MAMetersBetweenMapPoints(point1, point2);
    return distance;
}

@end
